import axios from "@/utils/require"


//获取商品详情数据
export function getDetailInfo(proid:string){
    return axios({
        url: `/pro/detail/${proid}`,
        method:"get" ,
       
    })
}
//购物车添加
export function addCartInfo(params:object){
    return axios({
        url: "/cart/add",
        method:"post" ,
        data:params  
    })
}





